import QtQuick
Rectangle{
    color: "blue"
    property  alias text: label.text
    signal clicked()
    Text{
        id: label
        color: "white"
        anchors.centerIn: parent
        text: qsTr("text")
    }
    MouseArea{
        anchors.fill: parent
        onClicked:{
            parent.clicked();
        }
    }
}
